/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

/**
 * /src/css/custom.css
 * You can override the default Infima variables here.
 * Note: this is not a complete list of --ifm- variables.
 */
:root {
  --ifm-color-primary: #4267b2;
  --ifm-color-primary-dark: #23469c;
  --ifm-color-primary-darker: #113178;
  --ifm-color-primary-darkest: #091e4a;
  --ifm-color-primary-light: #7981c2;
  --ifm-color-primary-lighter: #a09cc7;
  --ifm-color-primary-lightest: #c4c2cc;
}

/* Announcement banner */

:root {
  --docusaurus-announcement-bar-height: auto !important;
}

div[class^="announcementBarContent"] {
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 30px;
}

div[class^="announcementBarContent"] a {
  text-decoration: underline;
  display: inline-block;
  color: var(--ifm-color-primary-lightest) !important;
}

div[class^="announcementBarContent"] a:hover {
  color: var(--brand) !important;
}

@media only screen and (max-width: 768px) {
  div[class^="announcementBarContent"] {
    font-size: 18px;
  }
}

@media only screen and (max-width: 500px) {
  div[class^="announcementBarContent"] {
    font-size: 15px;
    line-height: 22px;
    padding: 6px 30px;
  }
}
